<div class="margincontentholder">
<a href="javascript:getObject(<TMPL_VAR NAME=FK_OBJECT_ID>,'IMAGE','<TMPL_VAR NAME=IMAGE_ORIGURL>');"><img src="<TMPL_VAR NAME=IMAGE_URL>" width="<TMPL_VAR NAME=IMAGE_MARGIN_XSIZE>" height="<TMPL_VAR NAME=IMAGE_MARGIN_YSIZE>" class="imagemargin"></a><br>
<div class="margincaption"><TMPL_VAR NAME=IMAGE_CAPTION></div>
<div class="margindate"><TMPL_VAR NAME=IMAGE_F_DATE></div>
</div> 